﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TicketReturn Managerment.aspx.cs" Inherits="TicketReturn_Managerment" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            text-align: justify;
        }
    </style>
</head>
<body style="height: 659px; width: 852px">
    <form id="form1" runat="server">
    <div>
    
        <asp:Panel ID="Panel1" runat="server" Height="518px" Width="725px">
            <div class="style1">
                <asp:Label ID="lblTitle" runat="server" Text="TICKETRETURN MANAGEMENT"></asp:Label>
                <br />
                <asp:Label ID="lblId" runat="server" Text="ID"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;
                <asp:TextBox ID="txtId" runat="server" Visible="False"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <br />
                <asp:Label ID="lblName" runat="server" Text="Name"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                <asp:RangeValidator ID="RangeValidator1" runat="server" 
                    ErrorMessage="RangeValidator"></asp:RangeValidator>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <br />
                <asp:Label ID="lblDescription" runat="server" Text="Description"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;
                <asp:TextBox ID="txtDescription" runat="server"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <br />
                <asp:Label ID="lblPercentPrice" runat="server" Text="Percent Price"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;
                <asp:TextBox ID="txtPrice" runat="server"></asp:TextBox>
                <br />
                <asp:Label ID="lblDateReturn" runat="server" Text="DateReturn"></asp:Label>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :&nbsp;&nbsp;&nbsp;
                <asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
                <br />
                <br />
                <asp:Button ID="btnAdd" runat="server" onclick="btnAdd_Click" Text="Add New" 
                    Width="82px" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnExit" runat="server" Text="Exit" Width="81px" />
                <br />
                <br />
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    Height="260px" onrowcancelingedit="GridView1_RowCancelingEdit" 
                    onrowdeleting="GridView1_RowDeleting" onrowediting="GridView1_RowEditing" 
                    onrowupdating="GridView1_RowUpdating" 
                    onselectedindexchanged="GridView1_SelectedIndexChanged" Width="503px" 
                    DataKeyNames="TicketReturnID">
                    <Columns>
                        <asp:BoundField DataField="TicketReturnID" HeaderText="TicketReturnID" />
                        <asp:BoundField DataField="TicketName" HeaderText="TicketName" />
                        <asp:BoundField DataField="Description" HeaderText="Description" />
                        <asp:BoundField DataField="PercentPrice" HeaderText="PercentPrice" />
                        <asp:BoundField DataField="DateReturn" HeaderText="DateReturn" />
                        <asp:CommandField ShowEditButton="True" />
                        <asp:CommandField ShowDeleteButton="True" />
                    </Columns>
                </asp:GridView>
            </div>
        </asp:Panel>
    
    </div>
    </form>
</body>
</html>
